package de.damontools.awolowa.gui;

import java.util.ArrayList;

import de.damontools.awolowa.R;
import de.damontools.awolowa.application.Profile;
import de.damontools.awolowa.application.ProfileListAdapter;
import android.os.Bundle;
import greendroid.app.GDListActivity;


public class ProfileListActivity extends GDListActivity {


	/**
	 * Loading the interface.
	 */
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTitle(R.string.title_profil);

		ProfileListAdapter adapter = new ProfileListAdapter(this,
				R.layout.activity_profil,
				(ArrayList<Profile>) Profile.getList(this));
		setListAdapter(adapter);

	}
}
